Column CSS Registry entry
Specify the default font family and font size for EMu client controls that display HTML formatted text (i.e. KEHTMLFrame controls).
With this entry it is possible to specify the default font family and font size for EMu client controls that display HTML formatted text. In the Narratives module the NarNarratives column can hold HTML formatted text:
Client controls that display HTML formatted text are known as KEHTMLFrame controls. These have a default font and font size (typically set by the System): Times New Roman and Font size 3 in the example above.
Content added to a KEHTMLFrame control can be output to a website:
- If the font family and size are not changed in the KEHTMLFrame control, then the HTML that is output from EMu will not include a FONT tag, and it will therefore display on a website using the website's font styling.
- If the font family and size are changed in the KEHTMLFrame control, then the HTML that is output from EMu will include a FONT tag (specifying the font family and size), and this styling will determine how the text displays on the website.
With this entry it is possible to match the font family and size used by default in a KEHTMLFrame control with the font styling used in a website. In this way the text keyed into the control will appear by default as it will display on the website. As it will not be necessary to change the font in the KEHTMLFrame control, no FONT tag will be specified and the EMu content published to a website will always use the website's font styling.
Usage
This Registry entry can be assigned to users and groups:
Key | User | Group | Group |
---|---|---|---|
Key 1 | User
|
Group
|
Group
|
Key 2 | user | group | Default
|
Key 3 | Table
|
||
Key 4 | table | ||
Key 5 | Column CSS
|
||
Key 6 | column | ||
Value | css |
User
|
user | Table
|
table | Column CSS
|
column | css |
Group
|
group | Table
|
table | Column CSS
|
column | css |
Group
|
Default
|
Table
|
table | Column CSS
|
column | css |
where:
column |
is the column to which the CSS settings are applied. Each KEHTMLFrame control is associated with a column. In the Narratives module the column associated with the KEHTMLFrame control on the Narrative tab is NarNarratives. Note: Unfortunately the What's this? Help tool does not work with KEHTMLFrame controls. The simplest way to identify the column name associated with a KEHTMLFrame control is to use the Report Properties dialogue to identify which column contains the HTML content. |
css |
is a CSS format. For example, the following value will set the default font to Arial with a font size of 2:
|
Example
The following example specifies the default font family and size for the KEHTMLFrame control on the Narrativetab of the Narratives module for all users:
Key | Setting |
---|---|
Key 1 | Group
|
Key 2 | Default
|
Key 3 | Table
|
Key 4 | enarratives
|
Key 5 | Column CSS
|
Key 6 | NarNarrative
|
Value | body {font-family: arial;font-size: x-small;}
|